import RouterView from "./router";
import { NavLink } from "react-router-dom";

function App() {
  return (
    <div>
      <h1>redux 模块化---合并redcer</h1>
      <NavLink to="/">首页</NavLink> |
      <NavLink to="/cart">购物车</NavLink> |
      <NavLink to="/mine">我的</NavLink>
      <RouterView></RouterView>
    </div>
  );
}

export default App;
